package com.lanhe.common.utils.duoyou.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 广告详情VO
 *
 * @author zhanggl
 * @date 2023/12/4
 */
@NoArgsConstructor
@Data
public class AbsInfoVo {

	private int status_code;
	private String message;
	private DataBean data;

	@NoArgsConstructor
	@Data
	public static class DataBean {
		private Long vip_number;
		private AdvertBean advert;
		private List<RulesBean> rules;
		private List<?> detail_float;

		@NoArgsConstructor
		@Data
		public static class AdvertBean {
			private Long id;
			private String title;
			private Long period;
			private double price;
			private String price_desc;
			private double price_desc_raw;
			private Long line_status;
			private Long serve_end;
			private String package_url;
			private String h5_game_url;
			private String product_name;
			private String product_icon;
			private String product_banner;
			private String product_introduction;
			private String product_isbn;
			private String product_approval_no;
			private String product_copyright_owner;
			private String product_publish_company;
			private Long package_size;
			private String package_name;
			private Long cid;
			private List<?> trial_range_img;
			private Long raiders_tutorial;
			private String raiders_tutorial_content;
			private Long boot_type;
			private Long delay;
			private String delay_content;
			private List<String> install_instr_plats;
			private String game_url;
			private Long account_count;
			private Long download_count;
			private Long award_amount;
		}

		@NoArgsConstructor
		@Data
		public static class RulesBean {
			private Long id;
			private String name;
			private String description;
			private String tip;
			private Long divide_type;
			private String non_defalut_divide;
			private Long start_time;
			private Long end_time;
			private List<Integer> keys;
			private List<RuleListBean> rule_list;

			@NoArgsConstructor
			@Data
			public static class RuleListBean {
				private Long id;
				private Long advert_id;
				private Long rule_cate_id;
				private String title;
				private Long key;
				private String value;
				private Long is_new;
				private Long is_hide;
				private String mark;
				private Long format;
				private Object suffix;
				private Long index;
				private Long special_award;
				private double member_income;
				private double media_owner_income;
				private Long hide_type;
				private double member_income_desc_raw;
				private String member_income_desc;
				private double media_owner_income_desc_raw;
				private String media_owner_income_desc;
			}
		}
	}
}
